export const useTableSelection = () => {
  const selection = ref([])

  const onChange = (selections) => {
    selection.value = selections
  }

  return {
    selection,
    onSelectionChange: onChange
  }
}
